package com.mlnx.work.pojo.form;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.mlnx.work.enums.FilterTypeEnum;
import com.mlnx.work.enums.ProjectStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("报表删选条件提交表单类")
public class FilterForm {
    @EnumValue
    @ApiModelProperty("筛选类别")
    private FilterTypeEnum filterTypeEnum;

    @ApiModelProperty("关键字")
    private String keyword;

    @ApiModelProperty("负责人ID")
    private Integer managerId;

    @ApiModelProperty("计划开始时间范围1")
    private Long originStartTime1;

    @ApiModelProperty("计划开始时间范围2")
    private Long originStartTime2;

    @ApiModelProperty("计划结束时间范围1")
    private Long originEndTime1;

    @ApiModelProperty("计划结束时间范围2")
    private Long originEndTime2;

    @ApiModelProperty("实际开始时间范围1")
    private Long startTime1;

    @ApiModelProperty("实际开始时间范围2")
    private Long startTime2;

    @ApiModelProperty("实际结束时间范围1")
    private Long endTime1;

    @ApiModelProperty("实际结束时间范围2")
    private Long endTime2;

    @ApiModelProperty("是否里程碑")
    private Boolean milepost;

    @ApiModelProperty("标签")
    private String tag;

    @EnumValue
    @ApiModelProperty("状态")
    private ProjectStatusEnum projectStatusEnum;

    @ApiModelProperty("逾期次数")
    private Integer overdueTimes;

    @ApiModelProperty("任务描述")
    private String taskDescription;

    @ApiModelProperty("逾期计划说明")
    private String overdueDescription;

    @ApiModelProperty("部门ID")
    private Integer deptId;
}
